package com.example.service.ums;

import com.example.model.ums.UmsAdmin;
import com.example.model.vo.UmsAdminVo;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface UmsAdminService {

    PageInfo<UmsAdmin> findUmsAdminsByParam(UmsAdminVo umsAdmin);

    UmsAdmin findUmsAdminByParam(UmsAdmin umsAdmin);

    void insert(UmsAdmin umsAdmin) throws Exception;

    void update(UmsAdmin umsAdmin) throws Exception;


    int deleteById(String id);
}
